/************************************************************************/
/*                                                                      */
/*  stdvq.h                                                             */
/*                                                                      */
/*  Tom Lookabaugh                                                      */
/*  August 13, 1987                                                     */
/*  Last Revision: August 13, 1987                                      */
/*                                                                      */
/*  DESCRIPTION                                                         */
/*      Include file for stdvq.c and subroutines.                       */
/*                                                                      */
/************************************************************************/

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lib.h"

extern FILE *trsqfile;
extern FILE *cdbkfile;
extern int dim;
extern int cdbkdim;
extern int cdbkupdim;
extern double add_offset;
extern double mult_offset;

extern double initialize();
extern splitcdwds();
extern double lloyd();
extern perturb();
extern double fullsearch();
extern cenupdt();
extern cenrplc();
extern writecdbk();

#define 	DEF_trsqfilename	"train.dat"
#define		DEF_cdbkfilename	"cdbk.dat"
#define		DEF_fincdbksz		256
#define		DEF_threshold		0.01
#define		DEF_dim			8
#define		DEF_add_offset		0.01
#define		DEF_mult_offset		0.01
#define		DEF_infilename		"test.dat"
#define		DEF_outfilename		"testenc.dat"
#define		DEF_write_all		0

#define 	EMCLTRIES		10

#define		DATATYPE		float //short	
